// 按员工：表格列配置
export const employeeColumnOption = {
    account_name: {
        prop: 'account_name',
        label: '账号'
    },
    crt_ord_amt: {
        prop: 'crt_ord_amt',
        label: '下单总金额（元）'
    },
    pay_ord_amt: {
        prop: 'pay_ord_amt',
        label: '支付总金额（元）'
    },
    crt_ord_cnt: {
        prop: 'crt_ord_cnt',
        label: '下单订单数'
    },
    pay_ord_cnt: {
        prop: 'pay_ord_cnt',
        label: '支付订单数'
    },
    enter_pv: {
        prop: 'enter_pv',
        label: '引导进店浏览量'
    }
};

// 按商品：表格列配置
export const productColumnOption = {
    product_name: {
        prop: 'product_name',
        label: '推广商品'
    },
    promotion_account_num: {
        prop: 'promotion_account_num',
        label: '推广员工数'
    },
    crt_ord_amt: {
        prop: 'crt_ord_amt',
        label: '下单总金额（元）'
    },
    pay_ord_amt: {
        prop: 'pay_ord_amt',
        label: '支付总金额（元）'
    },
    crt_ord_cnt: {
        prop: 'crt_ord_cnt',
        label: '下单订单数'
    },
    pay_ord_cnt: {
        prop: 'pay_ord_cnt',
        label: '支付订单数'
    },
    enter_pv: {
        prop: 'enter_pv',
        label: '引导进店浏览量'
    }
};

// 按推广链接：表格列配置
export const promotionLinkColumnOption = {
    // 类型
    promotion_type_name: {
        prop: 'promotion_type_name',
        minWidth: 80
    },
    // 状态
    promotion_status: {
        prop: 'promotion_status',
        minWidth: 80
    }
};
